/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.tcustomerinfo.service;

import java.util.List;

import com.jeeplus.common.json.AjaxJson;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.tcustomerinfo.entity.TCustomerInfo;
import com.jeeplus.modules.tcustomerinfo.mapper.TCustomerInfoMapper;

/**
 * 客户管理Service
 * @author pr
 * @version 2022-04-18
 */
@Service
@Transactional(readOnly = true)
public class TCustomerInfoService extends CrudService<TCustomerInfoMapper, TCustomerInfo> {

	@Autowired
	private TCustomerInfoMapper tCustomerInfoMapper;

	public TCustomerInfo get(String id) {
		return super.get(id);
	}
	
	public List<TCustomerInfo> findList(TCustomerInfo tCustomerInfo) {
		return super.findList(tCustomerInfo);
	}
	
	public Page<TCustomerInfo> findPage(Page<TCustomerInfo> page, TCustomerInfo tCustomerInfo) {
		return super.findPage(page, tCustomerInfo);
	}
	
	@Transactional(readOnly = false)
	public void save(TCustomerInfo tCustomerInfo) {
		super.save(tCustomerInfo);
	}
	
	@Transactional(readOnly = false)
	public void delete(TCustomerInfo tCustomerInfo) {
		super.delete(tCustomerInfo);
	}
	
}